#ifndef __CONFIG_H__
#define __CONFIG_H__
#pragma once
#include "common.h"
#include "monitor_public_def.h"
#include "MonitorServiceCfg.h"
#include <map>

class CConfig
	:public SingletonInstance<CConfig>
{
	CConfig();
	friend class SingletonInstance<CConfig>;
public:

	bool LoadSetting();
	bool Save2Setting();
	bool LoadModSetting();
	~CConfig();

public:
	std::map<std::string, MOD_DLL_INFO> m_moniMapMOD;
	MONSRV_CONFIG _Moncfg;
};

#endif
